home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / vser11 / sn2a.bat < prev    next >
Encoding:
DOS Batch File  |  1995-02-26  |  884 b   |  29 lines

  1. @echo off
  2. cls
  3. :: This batch file will initialize file sample.exe in drive A: with
  4. :: next serial no...
  5. :: 
  6. :: Place createsn.exe and appendsn.exe (and searchsn.exe, if desired) in your
  7. :: path or specify full pathname when they are called, below.
  8. ::
  9. :: The next line increments serialno.dat file on source drive, in current
  10. :: directory, by one...
  11. createsn
  12. echo.
  13. :: The executable to be serialized is assumed to already exist in A:\...
  14. appendsn a:\sample.exe
  15. :: The following line is optional; see documentation under Production Use.
  16. rem copy serialno.dat a:\
  17. echo.
  18. :: If using Norton's FD.EXE (FileDate) utility, unrem/modify the next 1 or
  19. :: 2 lines...
  20. rem fd a:\sample.exe /t00:00
  21. rem fd a:\serialno.dat /t00:00
  22. ::
  23. :: If you wish to search/verify the .exe for the serialization, unrem the
  24. :: next line:
  25. rem searchsn a:\sample.exe
  26. echo.
  27. echo Done.
  28. echo.
  29.